<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      for (let i = 0; i < 10; i++) {
        if (i === 6) {
          continue; // 中断本次循环，继续下次循环
          // break; // 中断循环
        }
        console.log(i);
      }
    </script>
  </body>
</html>
